<?php

class Book extends DataObject {
	
	static $db = array(
      'Edition' => 'Text',
		'EditionYear' => 'Text',
      'ReprintYear' => 'Text',
      'Count' => 'Int'
   );
   
   static $has_one = array(
      'TheMedium' => 'Medium',
      'ThePublisher' => 'Publisher'
   );
   
   static $has_many = array(
      'Loans' => 'Loan'
   );
	
}

class Book_Controller extends Page_Controller {

}

?>